package com.code.springboot3.model.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class RoleAssignDTO {
    @NotNull(message = "用户ID不能为空")
    private Integer id;
    
    @NotEmpty(message = "角色不能为空")
    private String[] bigRole;
} 